﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using GSdk.Shared;
using GSdk.Shared.Windows;

namespace GSdk.TestGsdkShared
{
    /// <summary>
    /// Logica di interazione per MainWindow.xaml
    /// </summary>
    public partial class MainWindow : System.Windows.Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            var tmp = new TestWindow();
            MessageBox.Show(tmp.Content == null ? "(null)" : tmp.Content.ToString());
            MessageBox.Show(tmp.HasContent.ToString());
            MessageBox.Show(new StringBuilder().FromEnumerable(((GSdk.Shared.Windows.Canvas)tmp.Content).Items).ToString());
        }
    }
}
